package bairui.international.controller.product.product;

import com.sh_lianjing.spring.web.controller.enhance.module.*;
import com.sh_lianjing.spring.web.controller.enhance.module.body.*;
import com.sh_lianjing.spring.web.controller.enhance.output.bean.*;
import bairui.international.controller.product.product.C_Product_Product_RollManage_Page;
import bairui.international.controller.product.product.C_Product_Product_RollManage_FileUpload;
import bairui.international.controller.product.product.C_Product_Product_RollManage_EditAccess;
import bairui.international.controller.product.product.C_Product_Product_RollManage_Publish;
import bairui.international.controller.product.product.C_Product_Product_RollManage_Up;
import bairui.international.controller.product.product.C_Product_Product_RollManage_Down;
import bairui.international.controller.product.product.C_Product_Product_RollManage_Delete;

/**
 *
 * Module_RollPage
 *
 */
class Module_RollPage{

	/**
	 * 分页模块
	 */
	public Module module(
		com.sh_lianjing.spring.web.controller.enhance.module.feature.PageModuleFeatureSupport moduleFeature,
		C_Product_Product_RollManage_Page.Page.Operate c_Product_Product_RollManage_Page_Page_Operate
	,	C_Product_Product_RollManage_FileUpload.FileUpload.Operate c_Product_Product_RollManage_FileUpload_FileUpload_Operate
	,	C_Product_Product_RollManage_EditAccess.EditAccess.Operate c_Product_Product_RollManage_EditAccess_EditAccess_Operate
	,	C_Product_Product_RollManage_Publish.Publish.Operate c_Product_Product_RollManage_Publish_Publish_Operate
	,	C_Product_Product_RollManage_Up.Up.Operate c_Product_Product_RollManage_Up_Up_Operate
	,	C_Product_Product_RollManage_Down.Down.Operate c_Product_Product_RollManage_Down_Down_Operate
	,	C_Product_Product_RollManage_Delete.Delete.Operate c_Product_Product_RollManage_Delete_Delete_Operate
	){
		return
			new Module(
					new ModuleHead("产品滚动图片列表")
						.addOperate(
							c_Product_Product_RollManage_FileUpload_FileUpload_Operate
								.defaultComment("上传")
						)
					, 
					new PageModuleBody(
							moduleFeature,
							RollPage_OutputInfo.outputInfo(),
							new PageFilterInfo(
									RollPage_BaseFilter.info(), 
									RollPage_OutputInfo.pageInfo(), 
									RollPage_OutputInfo.orderInfo()
								),
							c_Product_Product_RollManage_Page_Page_Operate
						)
						.addListOperate(
							c_Product_Product_RollManage_EditAccess_EditAccess_Operate
								.defaultComment("编辑")
								.defaultTarget(com.sh_lianjing.spring.web.controller.base.operate.OperateTarget.Popup)
						)
						.addListOperate(
							c_Product_Product_RollManage_Publish_Publish_Operate
								.defaultComment("发布")
						)
						.addListOperate(
							c_Product_Product_RollManage_Up_Up_Operate
								.defaultComment("上架")
						)
						.addListOperate(
							c_Product_Product_RollManage_Down_Down_Operate
								.defaultComment("下架")
						)
						.addListOperate(
							c_Product_Product_RollManage_Delete_Delete_Operate
								.defaultComment("删除")
						)
						.setIdentifier("id")
				);
	}
	
	public Module module(
		C_Product_Product_RollManage_Page.Page.Operate c_Product_Product_RollManage_Page_Page_Operate
	,	C_Product_Product_RollManage_FileUpload.FileUpload.Operate c_Product_Product_RollManage_FileUpload_FileUpload_Operate
	,	C_Product_Product_RollManage_EditAccess.EditAccess.Operate c_Product_Product_RollManage_EditAccess_EditAccess_Operate
	,	C_Product_Product_RollManage_Publish.Publish.Operate c_Product_Product_RollManage_Publish_Publish_Operate
	,	C_Product_Product_RollManage_Up.Up.Operate c_Product_Product_RollManage_Up_Up_Operate
	,	C_Product_Product_RollManage_Down.Down.Operate c_Product_Product_RollManage_Down_Down_Operate
	,	C_Product_Product_RollManage_Delete.Delete.Operate c_Product_Product_RollManage_Delete_Delete_Operate
	){
		return this.module(
				null,
				c_Product_Product_RollManage_Page_Page_Operate
	,			c_Product_Product_RollManage_FileUpload_FileUpload_Operate
	,			c_Product_Product_RollManage_EditAccess_EditAccess_Operate
	,			c_Product_Product_RollManage_Publish_Publish_Operate
	,			c_Product_Product_RollManage_Up_Up_Operate
	,			c_Product_Product_RollManage_Down_Down_Operate
	,			c_Product_Product_RollManage_Delete_Delete_Operate
			);
	}
	
	
	/**
	 * 输出模型
	 */
	

}
